package com.currency.mall.di.modlue;

import com.currency.mall.ui.login.RegisterContract;
import com.currency.mall.ui.login.RegisterPresent;
import com.mifengs.commonbase.di.scope.ActivityScope;

import dagger.Module;
import dagger.Provides;

/**
 * Created by Administrator on 2018/12/12.
 */
@Module
public class RegisterModule {

    public final RegisterContract.View mView;

    public RegisterModule(RegisterContract.View mView) {
        this.mView = mView;
    }

    @ActivityScope
    @Provides
    public RegisterPresent providePresenter() {
        return new RegisterPresent(mView);
    }

}
